package com.jf3q.sup.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sales_orders
 */
@TableName(value ="sales_orders")
@Data
public class SalesOrders implements Serializable {
    /**
     * 销售订单ID,主键,自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 客户ID,外键参考客户表
     */
    private Integer customerId;

    /**
     * 订单日期
     */
    private Date orderDate;

    /**
     * 订单总金额
     */
    private BigDecimal totalAmount;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

//    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}